package com.joysuch.wwyt.list.service;

import com.joysuch.wwyt.core.bean.SimpleSelectListBean;
import com.joysuch.wwyt.core.common.ajax.ResultBean;
import com.joysuch.wwyt.list.bean.BpListTypeDetailBean;
import com.joysuch.wwyt.list.bean.BpListTypeEditBean;
import com.joysuch.wwyt.list.bean.BpListTypeTreeBean;
import com.joysuch.wwyt.list.entity.BpListType;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiaoying
 * @since 2021-05-17
 */
public interface BpListTypeService extends IService<BpListType> {


    public List<BpListTypeTreeBean> listTree();


    ResultBean save(BpListTypeEditBean bean);

    public ResultBean deleteById(Long id);

    BpListTypeDetailBean getById(Long id);


    public List<SimpleSelectListBean> listType();
}
